package com.atguigu.jxc.dao;

import com.atguigu.jxc.entity.Customer;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface CustomerDao {

    List<Customer> selectCustomerList(@Param("customerName") String customerName);

    void updateById(@Param("customer") Customer customer);

    void saveCustomer(@Param("customer") Customer customer);

    void deleteByIds(@Param("ids") String[] ids);
}
